public class King extends ChessPiece {
	private final static int KING_VALUE = 999;

	public King(boolean team, BoardLocation curLoc) {
		super(team, KING_VALUE, curLoc);
	}

	// Valid move for King is one square in any direction
	boolean isValidMove(BoardLocation dest) {
		return dest.isOnBoard() && curLoc.getMoveLength(dest) == 1;
	}
	
	public String toString() {
		return "K";
	}
}
